package top.frsf.pattern.b_structural.a_adapter;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 目标接口
 *
 * @author FRSF
 * @since 2024/10/16 21:34
 */
public interface DBConnection {

    /**
     * 获取数据库连接
     *
     * @return Connection
     */
    Connection getConnection() throws SQLException;
}
